/* Import your chosen font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  width: 100%;
}

/* STICKY NAVIGATION */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(102, 126, 234, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.main-content {
  margin-top: 50px;
}

/* HERO SECTION - ENHANCED */
.hero {
  text-align: center;
  color: white;
  margin-bottom: 40px;
}

.hero-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.hero-image img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.hero-text h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h2 {
  font-size: 1.6em;
  margin-bottom: 15px;
  opacity: 0.9;
}

.current-availability {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  border-left: 4px solid #28a745;
  margin-bottom: 20px;
}

.current-availability h3 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.3em;
}

.current-availability p {
  color: #666;
  line-height: 1.6;
  font-size: 0.9em;
  margin: 0;
}

.value-prop {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto 30px auto;
  line-height: 1.5;
}

/* BENCHMARK CALLOUT */
.benchmark-callout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 20px;
  margin: 30px auto;
  max-width: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.benchmark-stat {
  text-align: center;
}

.benchmark-number {
  display: block;
  font-size: 2em;
  font-weight: bold;
  color: white;
}

.benchmark-label {
  font-size: 0.8em;
  opacity: 0.8;
}

.vs-indicator {
  font-size: 1.2em;
  font-weight: bold;
  opacity: 0.7;
}

.benchmark-improvement {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9em;
  background: rgba(40, 167, 69, 0.9);
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  white-space: nowrap;
  /* Prevent text wrapping */
}

.benchmark-callout {
  position: relative;
  margin-bottom: 55px;
  /* Increased to accommodate the improvement text */
}

/* KEY METRICS - ENHANCED WITH PROGRESS BARS */
.key-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.metric-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.metric-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.metric-label {
  font-size: 0.9em;
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
}

.metric-bar {
  width: 100%;
  height: 4px;
  background: rgba(102, 126, 234, 0.2);
  border-radius: 2px;
  overflow: hidden;
}

.metric-progress {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  width: 0%;
  transition: width 2s ease-in-out;
  border-radius: 2px;
}

/* SECTION STYLING */
.section {
  margin: 60px 0;
}

.section-title {
  font-size: 2.2em;
  color: white;
  text-align: center;
  margin-bottom: 35px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* EXPERIENCE CARDS - ENHANCED */
.experience-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.experience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 20px;
}

.experience-title {
  flex: 1;
}

.company-name {
  font-size: 1.8em;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 5px;
}

.company-type,
.role-duration {
  font-size: 1em;
  color: #888;
  font-style: italic;
  margin-bottom: 8px;
}

.leadership-badge {
  font-size: 0.9em;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.experience-metrics {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.experience-metric {
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-radius: 10px;
  min-width: 100px;
}

.experience-metric-value {
  font-size: 1.4em;
  font-weight: bold;
  color: #667eea;
}

.experience-metric-label {
  font-size: 0.8em;
  color: #666;
  margin-top: 3px;
}

.experience-content {
  font-size: 0.9em;
  color: #666;
  line-height: 1.6;
  margin-top: 20px;
}

.experience-content p {
  margin-bottom: 15px;
}

.experience-content strong {
  color: #555;
  background: rgba(102, 126, 234, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.testimonials-intro {
  text-align: center;
  margin-bottom: 35px;
}

.testimonials-intro p {
  color: white;
  font-size: 1.1em;
  opacity: 0.95;
  font-weight: 500;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #667eea;
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 4em;
  color: rgba(102, 126, 234, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-highlight {
  font-size: 1.2em;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 20px;
  padding-left: 50px;
  line-height: 1.4;
}

.testimonial-text {
  font-size: 0.9em;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
  padding-left: 10px;
}

.testimonial-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 25px;
  border-top: 2px solid rgba(102, 126, 234, 0.2);
  gap: 20px;
  flex-wrap: wrap;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  min-width: 250px;
}

.author-photo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(102, 126, 234, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.1em;
  font-weight: 700;
  color: #667eea;
  margin-bottom: 4px;
}

.author-title {
  font-size: 0.9em;
  color: #666;
  font-weight: 600;
  margin-bottom: 2px;
}

.author-company {
  font-size: 0.9em;
  color: #888;
  margin-bottom: 6px;
}

.author-relationship {
  font-size: 0.85em;
  color: #999;
  font-style: italic;
}

.linkedin-verify {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0077b5;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  padding: 10px 16px;
  border: 2px solid #0077b5;
  border-radius: 25px;
  transition: all 0.3s ease;
  background: white;
}

.linkedin-verify:hover {
  background: #0077b5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-verify:hover svg {
  fill: white;
}

.linkedin-verify svg {
  transition: fill 0.3s ease;
}

/* CONTEXTUAL TESTIMONIAL TEASERS (Inline within experience cards) */
.testimonial-link-inline {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid rgba(102, 126, 234, 0.15);
}

.inline-teaser {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  text-decoration: none;
  font-size: 0.9em;
  font-weight: 600;
  padding: 8px 16px;
  background: rgba(102, 126, 234, 0.08);
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.inline-teaser:hover {
  background: rgba(102, 126, 234, 0.15);
  transform: translateX(3px);
  border-color: rgba(102, 126, 234, 0.4);
}

.teaser-icon-small {
  font-size: 1.1em;
}

.arrow-inline {
  transition: transform 0.3s ease;
  font-size: 1.1em;
}

.inline-teaser:hover .arrow-inline {
  transform: translateX(4px);
}

/* MAJOR WINS SECTION - ENHANCED VISUALS */
.wins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.win-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 5px solid #667eea;
  position: relative;
  overflow: hidden;
}

.win-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.impact-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(102, 126, 234, 0.2);
}

.impact-bar {
  height: 100%;
  background: linear-gradient(90deg, #28a745, #20c997);
  transition: width 1.5s ease-in-out;
}

.high-impact .impact-bar {
  background: linear-gradient(90deg, #28a745, #20c997);
}

.medium-impact .impact-bar {
  background: linear-gradient(90deg, #667eea, #764ba2);
}

.win-title {
  font-size: 1.2em;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 10px;
  margin-top: 8px;
}

.win-impact {
  font-size: 1.4em;
  font-weight: bold;
  color: #20a03e;
  margin-bottom: 12px;
}

.win-description {
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
}

/* METHODOLOGY SECTIONS - ENHANCED */
.methodology-intro {
  text-align: center;
  margin-bottom: 40px;
}

.methodology-intro p {
  color: white;
  font-size: 1.1em;
  opacity: 0.9;
  max-width: 800px;
  margin: 0 auto;
}

.framework-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.framework-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #667eea;
}

.framework-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.framework-icon {
  font-size: 2.5em;
  margin-bottom: 15px;
  display: block;
}

.framework-card h4 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: 600;
}

.framework-card p {
  font-size: 0.9em;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* TECHNICAL EDGE SECTION */
.technical-highlight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.tech-feature {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #28a745;
}

.tech-feature h3 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.tech-feature p {
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.tech-feature strong {
  color: #28a745;
}

/* SKILLS GRID - ENHANCED */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 25px;
}

.skill-category {
  background: rgba(255, 255, 255, 0.9);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #667eea;
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.skill-category h4 {
  color: #667eea;
  margin-bottom: 15px;
  font-size: 1.1em;
  font-weight: 600;
}

.skill-list {
  font-size: 0.9em;
  color: #666;
  line-height: 1.5;
}

/* WORKING WITH ME SECTION */
.working-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.working-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #667eea;
}

.working-card h4 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.2em;
  font-weight: 600;
}

.working-card ul {
  list-style: none;
  padding: 0;
}

.working-card li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  font-size: 0.9em;
  line-height: 1.5;
  color: #666;
}

.working-card li:before {
  content: "▸";
  color: #667eea;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.working-card strong {
  color: #555;
  background: rgba(102, 126, 234, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* CTA SECTION */
.cta-section {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
}

.cta-section h3 {
  color: #667eea;
  font-size: 1.8em;
  margin-bottom: 15px;
}

.cta-section p {
  color: #666;
  font-size: 1.1em;
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1em;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.email-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.email-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1e9e8a 100%);
}

.linkedin-btn {
  background: linear-gradient(135deg, #0077b5 0%, #005885 100%);
}

.rsu-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FLOATING EMAIL BUTTON - CENTERED */
.floating-email {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
  z-index: 998;
  opacity: 1;
  visibility: visible;
}

.floating-email:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 6px 25px rgba(40, 167, 69, 0.4);
  background: linear-gradient(135deg, #218838 0%, #1e9e8a 100%);
}

.floating-email.hidden {
  opacity: 0;
  visibility: hidden;
}

.email-text {
  white-space: nowrap;
}

/* EMAIL MODAL STYLES */
.email-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.email-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.email-modal {
  background: white;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.email-modal-overlay.active .email-modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2em;
  color: #999;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.modal-header {
  text-align: center;
  padding: 40px 40px 30px 40px;
  border-bottom: 2px solid #f0f0f0;
}

.modal-icon {
  font-size: 3em;
  margin-bottom: 15px;
}

.modal-header h3 {
  font-size: 1.8em;
  color: #667eea;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: #666;
  font-size: 0.95em;
}

.modal-body {
  padding: 30px 40px 40px 40px;
}

/* Email Option Buttons */
.email-option {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  padding: 18px 20px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}

.email-option:hover {
  background: #e9ecef;
  border-color: #667eea;
  transform: translateX(5px);
}

.option-icon {
  font-size: 1.8em;
  flex-shrink: 0;
}

.option-content {
  flex: 1;
  text-align: left;
}

.option-title {
  font-size: 1em;
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
}

.option-email {
  font-size: 0.9em;
  color: #667eea;
  font-family: monospace;
  font-weight: 500;
}

.option-description {
  font-size: 0.85em;
  color: #888;
}

.option-arrow {
  font-size: 1.3em;
  color: #667eea;
  transition: transform 0.3s ease;
}

.email-option:hover .option-arrow {
  transform: translateX(5px);
}

/* Copy Button Specific Styles */
.copy-email-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.copy-email-btn .option-title,
.copy-email-btn .option-email {
  color: white;
}

.copy-email-btn .option-arrow {
  color: white;
}

.copy-email-btn:hover {
  background: linear-gradient(135deg, #5568d3 0%, #653a8b 100%);
  border-color: transparent;
}

/* Modal Divider */
.modal-divider {
  text-align: center;
  margin: 25px 0 20px 0;
  position: relative;
}

.modal-divider::before,
.modal-divider::after {
  /* content: ''; */
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: #ddd;
}

.modal-divider::before {
  left: 0;
}

.modal-divider::after {
  right: 0;
}

.modal-divider span {
  background: white;
  padding: 0 15px;
  color: #999;
  font-size: 0.85em;
  font-weight: 500;
}

/* Webmail Options */
.webmail-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.webmail-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 15px 10px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85em;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #666;
}

.webmail-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gmail-btn:hover {
  border-color: #EA4335;
  color: #EA4335;
  background: #fff5f5;
}

.outlook-btn:hover {
  border-color: #0078D4;
  color: #0078D4;
  background: #f0f7ff;
}

.yahoo-btn:hover {
  border-color: #6001D2;
  color: #6001D2;
  background: #f5f0ff;
}

/* Default Email Button */
.default-email-btn {
  border: 2px dashed #ccc;
  background: white;
}

.default-email-btn:hover {
  background: #f8f9fa;
  border-color: #999;
  border-style: solid;
}

/* Copy Toast Notification */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #28a745;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(40, 167, 69, 0.4);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: all 0.4s ease;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast-icon {
  font-size: 1.3em;
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  background: #667eea;
  color: white;
  border-color: #667eea;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    padding: 20px 15px;
  }

  .main-content {
    margin-top: 110px;
    /* Adjusted for 2-row nav */
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
    justify-content: center;
    max-width: 100%;
  }

  .nav-bar {
    padding: 8px 0;
  }

  .nav-link {
    font-size: 0.7em;
    padding: 6px 8px;
    flex: 1 1 calc(33.33% - 6px);
    text-align: center;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    white-space: nowrap;
    overflow: hidden;
  }

  .hero-profile {
    flex-direction: column;
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 2.2em;
  }

  .hero-text h2 {
    font-size: 1.4em;
  }

  .value-prop {
    font-size: 1.1em;
  }

  .benchmark-callout {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .benchmark-improvement {
    position: static;
    transform: none;
    margin-top: 15px;
    display: inline-block;
  }

  .key-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .metric-number {
    font-size: 1.8em;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-metrics {
    justify-content: space-between;
    width: 100%;
  }

  .experience-metric {
    flex: 1;
    min-width: auto;
    padding: 12px;
  }

  .framework-overview {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 30px 25px;
  }
  
  .quote-icon {
    font-size: 3em;
    left: 20px;
  }
  
  .testimonial-highlight {
    font-size: 1.05em;
    padding-left: 40px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .author-profile {
    width: 100%;
  }
  
  .linkedin-verify {
    width: 100%;
    justify-content: center;
  }
  
  .teaser-link {
    font-size: 1em;
    padding: 12px 24px;
  }
  
  .inline-teaser {
    font-size: 0.9em;
    padding: 8px 14px;
  }

  .technical-highlight {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .working-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .wins-grid {
    grid-template-columns: 1fr;
  }

  .floating-email {
    bottom: 20px;
    padding: 12px 16px;
    font-size: 0.8em;
  }

  .floating-email:hover {
    transform: translateX(-50%) translateY(-3px);
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .cta-button {
    width: 100%;
    max-width: 250px;
  }

  .modal-header, .modal-body {
    padding: 30px 25px;
  }
  
  .modal-header h3 {
    font-size: 1.5em;
  }
  
  .webmail-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .webmail-btn {
    flex-direction: row;
    justify-content: center;
    padding: 12px 15px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 480px) {
  .main-content {
    margin-top: 115px;
    /* Slightly more space for very small screens */
  }

  .key-metrics {
    grid-template-columns: 1fr;
  }

  .experience-metrics {
    flex-direction: column;
    gap: 10px;
  }

  .hero-image img {
    width: 120px;
    height: 120px;
  }

  .benchmark-callout {
    max-width: 100%;
  }
 
  .testimonial-text {
    font-size: 0.9em;
  }
  
  .testimonial-highlight {
    font-size: 1em;
  }
  
  .author-photo {
    width: 60px;
    height: 60px;
  }
  
  .author-name {
    font-size: 1em;
  }
  
  .author-title,
  .author-company {
    font-size: 0.85em;
  }

  .email-option {
    padding: 18px 10px;
  }
}

/* SMOOTH SCROLL */
html {
  scroll-behavior: smooth;
}

.section {
  scroll-margin-top: 100px;
}